home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
cbibcode.arc
/
PRINTF1.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1991-08-05
|
262 b
|
10 lines
/* printf1.c, from p.450 of Turbo C Bible */
#include <stdio.h>
main()
{
int numprint;
char inbuf[81];
numprint = printf("Enter a string: ");
gets(inbuf);
printf("I printed %d characters and You entered:\n%s\n", numprint,inbuf);
}